#!/bin/sh

pid=`pgrep -l nets | awk '{print $1}'`
echo $pid

while [ 1 ] 
do
	sleep 1
	cat /proc/$pid/status | grep -E 'RSS|VmSize'
#	cat /proc/$pid/status | grep Size
done 

